import './assets/main.css'

import { ref, createApp } from 'vue'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import App from './App.vue'
import router from './router'

const app = createApp(App)

// 提供一个响应式的全局变量
app.provide('globalVariable', ref('http://47.101.218.251:19321'))

app.use(ElementPlus)
app.use(createPinia())
app.use(router)

app.mount('#app')
